import axios from '@/utils/request'
import { getToken } from '@/utils/storage'

export function getArticleList (obj) {
  return axios({
    method: 'GET',
    url: 'interview/query',
    params: {
      current: obj.current,
      pageSize: 10,
      sorter: obj.sorter
    },
    headers: {
      Authorization: `Bearer ${getToken()}`
    }
  })
}
